]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Rename AlphabeticalView to BaseAppView
authorCarlos Soriano <carlos.soriano89@gmail.com>
Wed, 28 Aug 2013 17:26:21 +0000 (19:26 +0200)
committerCarlos Soriano <carlos.soriano89@gmail.com>
Mon, 2 Sep 2013 16:57:36 +0000 (18:57 +0200)
Since the items are not ordered in an alphabetical
way, just rename the class to be consistent.

https://bugzilla.gnome.org/show_bug.cgi?id=706081

js/ui/appDisplay.js

index 77898c5267aceb7428bfcc317e3cdd80445c73e2..8c1d8b2ca84ad82cd78c01e00c1d15dd726df48e 100644 (file)
@@ -54,8 +54,8 @@ function _loadCategory(dir, view) {
     }
 };
 
-const AlphabeticalView = new Lang.Class({
-    Name: 'AlphabeticalView',
+const BaseAppView = new Lang.Class({
+    Name: 'BaseAppView',
     Abstract: true,
 
     _init: function() {
@@ -139,7 +139,7 @@ const AlphabeticalView = new Lang.Class({
         }
     }
 });
-Signals.addSignalMethods(AlphabeticalView.prototype);
+Signals.addSignalMethods(BaseAppView.prototype);
 
 const AllViewLayout = new Lang.Class({
     Name: 'AllViewLayout',
@@ -167,7 +167,7 @@ const AllViewLayout = new Lang.Class({
 
 const AllView = new Lang.Class({
     Name: 'AllView',
-    Extends: AlphabeticalView,
+    Extends: BaseAppView,
 
     _init: function() {
         this.parent();
@@ -560,7 +560,7 @@ const AppSearchProvider = new Lang.Class({
 
 const FolderView = new Lang.Class({
     Name: 'FolderView',
-    Extends: AlphabeticalView,
+    Extends: BaseAppView,
 
     _init: function() {
         this.parent();